Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pack static assets into packr box for portability #56

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

rbren
Copy link
Contributor

@rbren rbren commented Apr 11, 2019

No description provided.

@rbren rbren force-pushed the bb/hosted-refactor branch 8 times, most recently from b3b6e20 to b44512e Compare April 17, 2019 22:01
@rbren rbren changed the title Enable external usage of dashboard package Pack static assets into packr box for portability Apr 17, 2019
@rbren rbren requested a review from robscott April 17, 2019 22:11
Copy link
Contributor

@robscott robscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, thanks for getting it in! Just had one question but otherwise lgtm.

)

// GetAssetBox returns a binary-friendly set of assets packaged from disk
func GetAssetBox() *packr.Box {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are GetAssetBox() and GetTemplateBox() important for other packages to be able to access?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetAssetBox is. GetTemplateBox is debatable, but I might use it in the hosted version rather than just calling MainHandler directly

copy config.yaml to docker image

enable external usage of dashboard package

gofmt

fix comment

use packr for assets

add gobuffalo/packr dependency

add dependencies

fix pointer issues

add output-file option
@rbren rbren merged commit 9b70db4 into master Apr 18, 2019
@rbren rbren deleted the bb/hosted-refactor branch April 18, 2019 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants